import{d as V,l as x,V as R,a as n,o,b as l,w as t,q as u,W as k,e as s,m as h,f as g,E as y,A as B,F as C,D as I,c as N}from"./index-c80Lh_is.js";import{N as T}from"./NavTabs-Gqjwuy8q.js";const S=V({__name:"ZoneIngressDetailTabsView",setup(D){var _;const{t:a}=x(),w=(((_=R().getRoutes().find(e=>e.name==="zone-ingress-detail-tabs-view"))==null?void 0:_.children)??[]).map(e=>{var i,c;const p=typeof e.name>"u"?(i=e.children)==null?void 0:i[0]:e,r=p.name,d=((c=p.meta)==null?void 0:c.module)??"";return{title:a(`zone-ingresses.routes.item.navigation.${r}`),routeName:r,module:d}});return(e,p)=>{const r=n("RouteTitle"),d=n("RouterView"),b=n("DataSource"),i=n("AppView"),c=n("RouteView");return o(),l(c,{name:"zone-ingress-detail-tabs-view",params:{zone:"",zoneIngress:""}},{default:t(({route:m})=>[s(i,{breadcrumbs:[{to:{name:"zone-cp-list-view"},text:u(a)("zone-cps.routes.item.breadcrumbs")},{to:{name:"zone-ingress-list-view",params:{zone:m.params.zone}},text:u(a)("zone-ingresses.routes.item.breadcrumbs")}]},{title:t(()=>[h("h1",null,[s(k,{text:m.params.zoneIngress},{default:t(()=>[s(r,{title:u(a)("zone-ingresses.routes.item.title",{name:m.params.zoneIngress})},null,8,["title"])]),_:2},1032,["text"])])]),default:t(()=>[g(),s(b,{src:`/zone-ingress-overviews/${m.params.zoneIngress}`},{default:t(({data:f,error:z})=>[z!==void 0?(o(),l(y,{key:0,error:z},null,8,["error"])):f===void 0?(o(),l(B,{key:1})):(o(),N(C,{key:2},[s(T,{class:"route-zone-ingress-detail-view-tabs",tabs:u(w)},null,8,["tabs"]),g(),s(d,null,{default:t(v=>[(o(),l(I(v.Component),{data:f},null,8,["data"]))]),_:2},1024)],64))]),_:2},1032,["src"])]),_:2},1032,["breadcrumbs"])]),_:1})}}});export{S as default};
